//package com.chengyu.core.response;
//
//import com.zbkj.common.vo.AliPayJsResultVo;
//import com.zbkj.common.vo.WxPayJsResultVo;
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
//import lombok.Data;
//import lombok.EqualsAndHashCode;
//import lombok.experimental.Accessors;
//
//
//@Data
//@EqualsAndHashCode(callSuper = false)
//@Accessors(chain = true)
//@ApiModel(value="OrderPayResultResponse对象", description="订单支付结果响应对象")
//public class PayResultResponse {
//
//    private static final long serialVersionUID=1L;
//
//    @ApiModelProperty(value = "支付状态")
//    private Boolean status;
//
//    @ApiModelProperty(value = "支付平台调起支付参数对象")
//    private WxPayJsResultVo jsConfig;
//
//    @ApiModelProperty(value = "支付方式:weixin,alipay,yue")
//    private String payType;
//
//    @ApiModelProperty(value = "支付渠道：public-公众号,mini-小程序，h5-网页支付,yue-余额，wechatIos-微信Ios，wechatAndroid-微信Android,alipay-支付宝，alipayApp-支付宝App")
//    private String payChannel;
//
//    @ApiModelProperty(value = "订单编号")
//    private String orderNo;
//
//    @ApiModelProperty(value = "订单支付宝支付")
//    private String alipayRequest;
//
//    @ApiModelProperty(value = "支付宝调起支付参数对象（app支付专用）")
//    private AliPayJsResultVo aliPayConfig;
//}
////
////// 微信支付，调用微信预下单，返回拉起微信支付需要的信息
////        if (order.getPayType().equals(PayConstants.PAY_TYPE_WE_CHAT)) {
////                logger.info("订单支付 微信下单");
////                WxPayJsResultVo vo = wechatPayment(order);
////                orderService.updateById(order);
////                response.setStatus(true);
////                response.setJsConfig(vo);
////                logger.info("订单支付 微信下单 response :{}", JSON.toJSONString(response));
////                return response;
////                }
////                if (order.getPayType().equals(PayConstants.PAY_TYPE_ALI_PAY)) {
////                logger.info("订单支付 支付宝");
////                String result = aliPayment(order);
////                order.setOutTradeNo(order.getOrderNo());
////                orderService.updateById(order);
////                response.setStatus(true);
////                response.setAlipayRequest(result);
////                logger.info("订单支付 支付宝 response :{}", JSON.toJSONString(response));
////                return response;
////                }
////                response.setStatus(false);
////                logger.info("订单支付 END response:{}", JSON.toJSONString(response));
////                return response;
//
//
